package com.lmf.TravelData;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import com.lmf.TravelData.util.DistinctData;

@SpringBootApplication
public class TravelDataApplication {

	@Autowired
    static ApplicationArguments applicationArguments;
	
	public static void main(String[] args) {
		SpringApplication.run(TravelDataApplication.class, args);
		DistinctData dData = new DistinctData();
		System.out.println(args.length+"\t"+(args.length>0 ? args[0]:"")+"\t"+(args.length>1 ? args[1]:""));
		String[] params = args;
		//params[0] = params[1];
		dData.main(args);
		
	}

}
